<template>
  <view v-show="globalLoading" class="m-loading">
    <uni-icons
      class="rotate-box"
      type="spinner-cycle"
      size="30"
      :color="$basicColor.primary_color"
    />
  </view>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  name: "MLoading",
  computed: {
    ...mapGetters(["globalLoading"]),
  },
};
</script>

<style lang="scss" src="./index.scss" scoped></style>
